package com.sunthy.mall.model.admin.pojo.reply;

import java.util.Date;

/**
 * @Description: 这是一个reply的bean类
 * @Author: XM
 */
public class Reply {
    private Integer id;   // 留言id
    private Integer userId;  // 用户id
    private Integer goodsId; // 商品id
    private String content;  // 留言的内容
    private String replyContent; // 恢复的内容
    private Integer state;  // 留言状态0(已恢复) 1(未恢复)
    private Date createtime;  // 留言的时间
    private String goods; // 商品的name
    private String user; // client 的nickname


    public Reply(Integer id, Integer userId, Integer goodsId, String content, String replyContent, Integer state, Date createtime, String goods, String user) {
        this.id = id;
        this.userId = userId;
        this.goodsId = goodsId;
        this.content = content;
        this.replyContent = replyContent;
        this.state = state;
        this.createtime = createtime;
        this.goods = goods;
        this.user = user;
    }

    public Reply() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getGoods() {
        return goods;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }
}
